<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <meta name="description" content="{$appConfigs[member_title]}">
    <title>个人信息-账户安全</title>
    {run $pageName='person'}
    {include member.inc.csslink}
</head>
<body>
{include member.inc.header}
<main class="max-w">
    <div class="breadcrumb">您现在的位置：<a href="/member/member/index">个人信息</a> > 账户安全</div>
    {include member.inc.leftNav}
    <div class="main">
        <section class="person panel">
            <div class="header"><h1>账户安全</h1></div>
            <div class="top">
                <div class="savetop clearfix">
					{if $level == 2}
					<img src="/res/mpe/img/saveic02.png" alt="">
					{elseif $level == 3}
					<img src="/res/mpe/img/saveic03.png" alt="">
					{elseif $level == 4}
					<img src="/res/mpe/img/saveic04.png" alt="">
                    {elseif $level == 5}
                    <img src="/res/mpe/img/saveic.png" alt="">
					{/if}
                    <dl class="grade">
						{if $level == 2}
                        <dt>安全级别：<span class="save_color02">低</span></dt>
						{elseif $level == 3}
                        <dt>安全级别：<span class="save_color03">中</span></dt>
						{elseif $level == 4}
                        <dt>安全级别：<span class="save_color04">高</span></dt>
						{elseif $level == 5}
                        <dt>安全级别：<span>最高</span></dt>
						{/if}
                        <dd>建议您启动全部安全设置，以保障账户及资金安全。</dd>
                    </dl>
                </div>
            </div>
            <div class="content">
                <div class="row">
                    <div class="save_ui">
                        <div class="save_grade"></div>
                        <span class="save_box">
                            手机验证
                        </span>
                    </div>
                    <dl class="con_matter">
						<dt>您验证的手机： {run echo substr_replace($username, '*****', 3, 5)}    若已丢失或停用，请立即更换，避免账户被盗，更换手机号会直接修改登录会员账户名，请知悉。</dt>
                        <dd><a href="/member/member/index" >修改</a></dd>
                        
                    </dl>
                </div>
                <div class="row">
                    <div class="save_ui">
                        <div class="save_grade"></div>
                        <span class="save_box">
                            登录密码
                        </span>
                    </div>
                    <dl class="con_matter">
                        <dt>互联网账号存在被盗风险，建议您定期更改密码以保护账户安全。</dt>
                        <!-- <dd><a href="###">修改</a></dd> -->
                        <dd><a href="javascript:;" data-act="login_pass">修改</a></dd>
                    </dl>
                </div>
                <div class="row">
                    <div class="save_ui">
                        <div class="save_grade"></div>
						<span class="save_box {if !$signInfo[tradepass]}disabled{/if}">
                            交易密码
                        </span>
                    </div>
                    <dl class="con_matter">
                        <dt>定期修改交易密码，便于账户资金安全</dt>
                        {if $signInfo[tradepass]}
                            <dd><a href="javascript:;" data-act="deal_pass">修改</a></dd>
                        {elseif $signInfo[ischecked]==2}
                            <dd><a href="javascript:;" data-act="deal_pass">设置</a></dd>
                        {else}
                            <dd><a href="/member/member/auth">设置</a></dd>
                        {/if}
                    </dl>
                </div>
                <div class="row">
                    <div class="save_ui">
                        <div class="save_grade"></div>
						<span class="save_box {if $signInfo[ischecked]==0 || $signInfo[ischecked] ==3}disabled{/if}">
                            实名认证
                        </span>
                    </div>
           
					{if $signInfo[ischecked] == 0}
                    <dl class="con_matter">
                        <dt>未认证</dt>
                        <dd><a href="/member/member/auth">去认证</a></dd>
                    </dl>
					{elseif $signInfo[ischecked] == 1}
                    <dl class="con_matter">
                        <dt>开通中</dt>
                        <dd><a href="/member/member/auth">查看</a></dd>
                    </dl>
					{elseif $signInfo[ischecked] == 2}
                    <dl class="con_matter">
						<dt>您认证的实名信息： {expr $company[company]}&nbsp;&nbsp;{expr substr($company[license],0,2)}{expr str_pad('',strlen($company[license]) - 6,'*')}{expr substr($company[license],-4,4)}</dt>
						<!--<dt>您认证的实名信息： **{expr mb_substr($signInfo[legal_person],-1,1)} {expr substr($signInfo[idcard_no],0,2)}{expr str_pad('',strlen($signInfo[idcard_no]) - 6,'*')}{expr substr($signInfo[idcard_no],-4,4)}</dt>-->
                        <dd><a href="/member/member/auth">查看</a></dd>
                    </dl>
					{elseif $signInfo[ischecked] == 3}
                    <dl class="con_matter">
                        <dt>已解约</dt>
                        <dd><a href="###">重新签约</a></dd>
                    </dl>
					{/if}
                </div>
                <div class="row">
                    <div class="save_ui">
                        <div class="save_grade"></div>
                        <span class="save_box {if $signInfo[sign_status]==0 || $signInfo[sign_status] ==2}disabled{/if}">
                            银行签约
                        </span>
                    </div>
           
					{if $signInfo[sign_status] == 0}
                    <dl class="con_matter">
                        <dt>未签约</dt>
                        <dd><a href="/member/member/bankSign">去签约</a></dd>
                    </dl>
					
					{elseif $signInfo[sign_status] == 1}
                    <dl class="con_matter">
						<!--<dt>您已绑定银行卡： **{expr mb_substr($signInfo[sign_bank_branch],-1,1)}  {expr substr($signInfo[card_no],0,2)}{expr str_pad('',strlen($signInfo[card_no]) - 6,'*')}{expr substr($signInfo[card_no],-4,4)}，可正常线上交易</dt>-->
						<dt>您已绑定银行卡： {$signInfo[sign_bank_branch]}  {expr substr($signInfo[virtual_account],0,2)}{expr str_pad('',strlen($signInfo[virtual_account]) - 6,'*')}{expr substr($signInfo[virtual_account],-4,4)}，可正常线上交易</dt>
                        <dd><a href="/member/member/bankSign">查看</a></dd>
                    </dl>
					{elseif $signInfo[sign_status] == 2}
                    <dl class="con_matter">
                        <dt>已解约</dt>
                        <dd><a href="/member/member/bankSign">重新签约</a></dd>
                    </dl>
					{/if}
                </div>
            </div>
            <div class="bottom">
                安全服务提示
                <dl class="bot">
                    <dd>
					1、确认您登录的是"{C 'site_name'}"，网址{C 'site_url'}，注意防范进入钓鱼网站，不要轻信各种即时通讯工具发送的商品或支付链接，谨防网购诈骗。
                    </dd>
                    <dt>
                        2、建议您安装杀毒软件，并定期更新操作系统等软件补丁，确保账户及交易安全。
                    </dt>
                </dl>
            </div>
        </section>
    </div>
</main>

{include member.inc.footer}
{include member.inc.script}



    <!-- 账户安全页面-登陆密码-修改按钮   弹窗 -->
<script type="text/html" id="loginValid">
    <form class="formLayer"><dl class="form-block">
    <dt><span class="asterisk">*</span>原密码</dt>
    <dd class="old_pwd_wrap">
        <input type="password" style="display:none;">
        <input class="form-control" id="oldPwd" placeholder="请输入您的原密码"  type="password" name="old_pwd">
    </dd>
    <dt><span class="asterisk">*</span>新密码</dt>
    <dd>
        <input class="form-control new_pwd"  name="new_pwd" placeholder="请输入6-20位的密码"  type="password">
    </dd>
    <dt><span class="asterisk">*</span>确认密码</dt>
    <dd>
        <input class="form-control"  name="sure_pwd" placeholder="请再次输入相同的密码"  type="password">
    </dd>
    </dl></form>
</script>
<!-- 账户安全页面-交易密码-设置按钮和修改按钮   弹窗-->
<script type="text/html" id="dealValid">
    <form class="formLayer"><dl class="form-block">
        <dt><span class="asterisk">*</span>密码</dt>
        <dd>
            <input type="password" style="display:none;">
            <input class="form-control" id="pwd"   placeholder="请输入6位数字的交易密码" type="password" name="password" maxlength="6">
        </dd>
        <dt><span class="asterisk">*</span>确认密码</dt>
        <dd>
            <input class="form-control" name="sure_pwd" placeholder="请再次输入相同的密码"  type="password" maxlength="6">
        </dd>
        <dt><span class="asterisk">*</span>手机验证码</dt>
        <dd>
            <input type="hidden" value="{$username}" id="username" name="username">
            <button type="button" data-act="getSMS" class="get-code active" data-active="true">获取验证码</button>
            <input class="form-control fl" name="vcode"  placeholder=""  type="text">
        </dd>
        <!-- <dd class="bottom-btn">
             <input class="btn-primary btn-sm" type="submit" value="确定" />
             <input class="btn-default btn-sm" type="button" value="取消" />
         </dd>-->
    </dl></form>
</script>
<script>
   // seajs.use('common')
   seajs.use('person_com',function(person_com){
       person_com.saveInit();
   })
</script>
{include member.inc.foot_hook}
</body>
</html>
